package com.zzx.shiro.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @ClassName: IndexController
 * @Description: 页面跳转Controller
 * @Author zhouzhixin
 * @Date 2021/9/13
 * @Version 1.0
 */
@Controller
public class IndexController {

    /**
     * 跳转首页
     *
     * @return
     */
    @GetMapping(value = "/login")
    public String defaultLogin() {
        return "login";
    }

    /**
     * 跳转到权限警告页面
     *
     * @return
     */
    @GetMapping(value = "/noAuth")
    public String noAuth() {
        return "noAuth";
    }

}
